package com.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dto.LoginUser;
import com.idao.LoginUserMapper;
import com.service.ILoginUserService;

@Service("userService")
public class loginuserserviceimpl  implements ILoginUserService {
	
	
	@Resource
	private LoginUserMapper userDao;
	
	@Override
	public LoginUser getUserById(int UserId)
	{
		return this.userDao.selectByPrimaryKey(UserId);
	}
}
